package com.cinc.ebc.fi.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @Description: 客户应收明细-收款
 * @Author: jeecg-boot
 * @Date: 2022-12-17
 * @Version: V1.0
 */
@ApiModel(value = "fi_payment_voucher_detail对象", description = "收款明细")
@Data
public class FiCustomerReceiveDetailModel {

    /**
     * 主键
     */
    @ApiModelProperty(value = "主键")
    private String id;
    /**客户*/
    @Excel(name = "客户", width = 15, dictTable = "crm_customer", dicText = "cust_full_name", dicCode = "id")
    @Dict(dictTable = "crm_customer", dicText = "cust_full_name", dicCode = "id")
    @ApiModelProperty(value = "客户")
    private java.lang.String customerId;
    /**
     * 单据日期
     */
    @Excel(name = "单据日期", width = 15, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "单据日期")
    private Date billDate;
    /**
     * 业务员
     */
    @Excel(name = "业务员", width = 15, dictTable = "sys_user", dicText = "realname", dicCode = "username")
    @Dict(dictTable = "sys_user", dicText = "realname", dicCode = "username")
    @ApiModelProperty(value = "业务员")
    private String buyer;
    /**
     * 部门
     */
    @Excel(name = "部门", width = 15, dictTable = "sys_depart", dicText = "depart_name", dicCode = "org_code")
    @Dict(dictTable = "sys_depart", dicText = "depart_name", dicCode = "org_code")
    @ApiModelProperty(value = "部门")
    private String dept;
    /**
     * 备注
     */
    @Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private String remark;
    /**
     * 业务类型
     */
    @Excel(name = "业务类型", width = 15)
    @ApiModelProperty(value = "业务类型")
    private String moveId;
    /**
     * 业务类型
     */
    @Excel(name = "业务类型", width = 15)
    @ApiModelProperty(value = "业务类型")
    private String moveText;
    /**
     * 单据编号
     */
    @Excel(name = "单据编号", width = 15)
    @ApiModelProperty(value = "单据编号")
    private String billNo;
    /**
     * 应收金额
     */
    @Excel(name = "应收金额", width = 15)
    @ApiModelProperty(value = "应收金额")
    private BigDecimal sumPrice;
    /**
     * 实收金额
     */
    @Excel(name = "实收金额", width = 15)
    @ApiModelProperty(value = "实收金额")
    private BigDecimal verifyAmount;
    /**
     * 余额
     */
    @Excel(name = "余额", width = 15)
    @ApiModelProperty(value = "余额")
    private BigDecimal balanceAmount;
    /**
     * 编码
     */
    @Excel(name = "编码", width = 15)
    @ApiModelProperty(value = "编码")
    private String code;
    /**
     * 名称
     */
    @Excel(name = "名称", width = 15)
    @ApiModelProperty(value = "名称")
    private String name;

}
